package com.think.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>
 * 通用：状态枚举
 * </p>
 *
 * @author: xwj
 * @data: 2019-04-07
 */
@Getter
@AllArgsConstructor
public enum StateEnum implements IEnum {

    /**
     * 状态
     */
    ENABLE(0, "启用"),
    DISABLE(1, "禁用");

    @EnumValue
    private final Integer value;
    private final String msg;
}
